package com.woniuxy01;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 作者
 * @create 2025-09-24 9:48
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student {
    private Integer sid;
    private String sname;
    private Integer age;
    public String email;

    public void test01(){
        System.out.println("test01");
    }

    public void test01(int age){
        System.out.println("test01 age="+age);
    }
    public String test01(int age,String name){
        System.out.println("test01 age="+age+" name="+name);
        return "test01 返回值";
    }
    private void test02(){
        System.out.println("test02");
    }
}
